package com.zzjc.webauth.mapper;

import com.zzjc.webauth.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface UserDao {
    List<User> getUserById(@Param("userList") List<String> userList);

    User getUserByPhone(@Param("userAcct") String phone);

    int insertUser(User user);

    int deleteUser(@Param("userList") List<String> userList);

    List<User> findAll(User user);

    Integer updateUser (User user);

}
